package com.imooc.bilibili.service;

import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface FileService {
    String uploadFileBySlices(MultipartFile file, String fileMD5, Integer sliceNo, Integer totalSliceNo) throws IOException;

    String getFileMD5(MultipartFile file) throws IOException;
}
